<template>
	<div class="unavailable-container">
		<div class="content-wrapper">
			<!-- 图标动画 -->
			<div class="icon-wrapper">
				<svg class="lock-icon" viewBox="0 0 24 24">
					<path fill="currentColor" d="M12,17A2,2 0 0,0 14,15C14,13.89 13.1,13 12,13A2,2 0 0,0 10,15A2,2 0 0,0 12,17M18,8H17V6A5,5 0 0,0 12,1A5,5 0 0,0 7,6V8H6A2,2 0 0,0 4,10V20A2,2 0 0,0 6,22H18A2,2 0 0,0 20,20V10A2,2 0 0,0 18,8M12,3A3,3 0 0,1 15,6V8H9V6A3,3 0 0,1 12,3Z"/>
				</svg>
			</div>

			<!-- 提示信息 -->
			<h1 class="title">功能未开放</h1>
			<p class="subtitle">该功能正在开发中，敬请期待！</p>

			<!-- 返回按钮 -->
			<button class="back-button" @click="goBack">返回首页</button>
		</div>
	</div>
</template>

<script>
export default {
	methods: {
		goBack() {
			this.$router.push('/')
		}
	}
}
</script>

<style scoped>
.unavailable-container {
	width: 100%;
	height: 100vh;
	display: flex;
	justify-content: center;
	align-items: center;
	background-color: #f5f5f5;
}

.content-wrapper {
	text-align: center;
	padding: 40px;
	background: white;
	border-radius: 12px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
	animation: fadeIn 0.6s ease-out;
}

.icon-wrapper {
	margin-bottom: 24px;
}

.lock-icon {
	width: 80px;
	height: 80px;
	color: #999;
	animation: bounce 1.5s infinite;
}

.title {
	font-size: 28px;
	color: #333;
	margin-bottom: 16px;
}

.subtitle {
	font-size: 16px;
	color: #666;
	margin-bottom: 32px;
}

.back-button {
	padding: 12px 32px;
	font-size: 16px;
	color: white;
	background-color: #409eff;
	border: none;
	border-radius: 6px;
	cursor: pointer;
	transition: all 0.3s ease;
}

.back-button:hover {
	background-color: #66b1ff;
	transform: translateY(-2px);
}

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes bounce {
	0%, 100% {
		transform: translateY(0);
	}
	50% {
		transform: translateY(-10px);
	}
}
</style>
